package com.example.log4j2test.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
public class HelloController {
    
    
    @GetMapping("/test")
    public void test() {
        log.info("test");
        log.warn("test");
        log.error("test");
    }
    
    
}
